package org.playground.booking.service;

import org.playground.booking.dto.UserDto;
import org.playground.booking.entity.User;

public interface IUserService {

    User readUserById(Long id);

    User readUserByOpenId(String openId);

    User createUser(String openId, boolean isLoyalty);

    void updateUser(UserDto toUpdate);
}
